import React from 'react'
import ReactDOM from 'react-dom'
import App from './App'
//引入./redux/store 和react-redux封装的{Provider} 用以给容器传递store（redux和容器能互通数据）
import store from './redux/store'
import {Provider} from 'react-redux'

ReactDOM.render(
	{/*给App下面的所有子容器传递store，让那些容器能够联系上redux*/}
	<Provider store={store}>
		<App/>
	</Provider>,
	document.getElementById('root')
)